55aa5ad234e4345384041a4f8b026c665ad6d139,src/freenet/clients/http/WelcomeToadlet.java,WelcomeToadlet,handlePost,#URI#Bucket#ToadletContext#,48

Before Change


			buf.append("</form>\n");
			ctx.getPageMaker().makeTail(buf);
			writeReply(ctx, 200, "text/html", "OK", buf.toString());
		} else if (request.getParam("newbookmark").length() > 0) {
			try {
				bookmarks.addBookmark(new Bookmark(request.getParam("newbookmark"), request.getParam("name")));
			} catch (MalformedURLException mue) {

After Change


				} else if (request.isParameterSet("update_"+b.hashCode())) {
					// removing it and adding means that any USK subscriptions are updated properly
					try {
						Bookmark newbkmk = new Bookmark(request.getParam("key"), request.getParam("name"));
						bookmarks.removeBookmark(b);
						bookmarks.addBookmark(newbkmk);
					} catch (MalformedURLException mue) {